<?php 
    $this->model->username = "Tên đăng nhập";
    $this->model->password = "Mật khẩu";
    $this->model->remember = "1";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>XWEB XAdmin - <?php echo $title?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php $this->html->loadCss("Content/XAdmin/css/global.css")?>
<!--[if IE]>
<?php $this->html->loadCss("Content/XAdmin/css/iefix.css")?>
<![endif]-->
<!--[if IE 7]>
<?php $this->html->loadCss("Content/XAdmin/css/ie7fix.css")?>
<![endif]-->
</head>
<body>
<div id="access-shell">
<!-- ********************************************************************* -->
	<!-- Begin Black Header with logo -->
	<div id="access-header">
		<img src="<?php echo $this->url->content("Content/XAdmin/img/logo.png")?>" style="padding-top: 10px;" />
	</div>
	<!-- End Black Header with logo -->
<!-- ********************************************************************* -->


<!-- ********************************************************************* -->
	<!-- Begin Main Content for Access Page (See Section M in custom.js) -->
	<div id="access-body">

<!-- ********************************************************************* -->
	<!-- Begin menu tabs -->
		<ul id="access-menu">
			<li class="no-dash"><a href="#tab-login">Đăng nhập</a></li>
			<li><a href="#tab-register">Đăng ký</a></li>
			<li><a href="#tab-help">Trợ giúp</a></li>
		</ul>
	<!-- //End menu tabs -->
<!-- ********************************************************************* -->


<!-- ********************************************************************* -->
	<!-- Begin Login Form -->
		<div class="alert alert-info" style="margin-bottom: 0; display: none;">
			<p><span class="ico-text ico-alert-loading"></span><span>Đang kiểm tra thông tin tài khoản...</span></p>
		</div>
		<div class="alert alert-error" style="margin-bottom: 0; display: none;">
			<p><span class="ico-text ico-alert-error"></span><span id="loginMessage">Đang kiểm tra thông tin tài khoản...</span></p>
		</div>
		<?php $this->form->begin("login")?>
		<?php $this->form->hiddenFor("remember")?>
		<div id="tab-login" class="access-main">
			<div>
				<?php $this->form->textboxFor("username", array('class' => "clear-focus"))?>
				<?php $this->form->passwordFor("password", array('class' => "clear-focus"))?>
				<?php $this->form->selectFor("language", array('vi-VN' => "Tiếng Việt", "en-US" => "Tiếng Anh"))?>
			</div>
			<div class="btn-round">
				<input type="submit" class="power" id="login-btn" value="Login" alt="Login" rel="<?php echo $this->url->content("Content/XAdmin/img/btn-power-off.png")?>" 
				reloff="<?php echo $this->url->content("Content/XAdmin/img/no-entry.png")?>" />
			</div>
		</div>
		<?php $this->form->end()?>
	<!-- //End Login Form -->
<!-- ********************************************************************* -->


<!-- ********************************************************************* -->
	<!-- Begin Register Form -->
		<form id="register" action="2.html">
		<div id="tab-register" class="access-main">
			<div>
				<input type="text" id="r-username" class="clear-focus" value="Username" />
				<input type="text" id="r-email" class="clear-focus" value="Email" />
				<input type="password" id="r-password" class="clear-focus" value="Password" data-typetoggle="#show-password" />
				<input type="checkbox" id="show-password" /><label for="show-password">Show Password</label>
			</div>
			<div class="btn-round">
				<input type="submit" class="power" id="register-btn" value="register" alt="register" />
			</div>
		</div>
		</form>
	<!-- //End Register Form -->
<!-- ********************************************************************* -->


<!-- ********************************************************************* -->
	<!-- Begin Help Content -->
		<div id="tab-help" class="access-main">
			<div>
				<input type="text" id="h-email" class="clear-focus" value="Nhập vào email của bạn để nhận lại mật khẩu." />
			</div>
			<input id="cancel" type="reset" value="Cancel" />
			<input class="btn-theme" id="btn-retrieve" type="submit" value="Submit" />
		</div>
	<!-- //End Help Content -->
<!-- ********************************************************************* -->
	</div>

	<!-- //End Main Content for Access Page -->
<!-- ********************************************************************* -->
</div>

<!-- ********************************************************************* -->
<!-- Begin Javascript Files -->
<?php $this->html->loadJs(
        array(		"Scripts/jquery-1.6.2.min.js",
                    "Scripts/jquery-ui-1.8.16.min.js",
                    "Content/XAdmin/js/jquery.visualize.js",
                    "Content/XAdmin/js/jquery.visualize.tooltip.js",
                    "Content/XAdmin/js/jquery.ui.selectmenu.js",
                    "Content/XAdmin/js/jquery.datatables.min.js",
                    "Content/XAdmin/js/jquery.potato.menu.min.js",
                    "Content/XAdmin/js/jquery.masonry.min.js",
                    "Content/XAdmin/js/jquery.lightbox.min.js",
                    "Content/XAdmin/js/jquery.ui.totop.js",
                    "Content/XAdmin/js/jquery.markitup.js",
                    "Content/XAdmin/js/jquery.markitup.set.js",
                    "Content/XAdmin/js/jquery.filetree.js",
                    "Content/XAdmin/js/jquery.minicolors.js",
                    "Content/XAdmin/js/custom.js",
                    "Areas/Auth/Assets/js/admin_login.js",		
                )
)?>
<!--[if IE]>
<?php $this->html->loadJs("Content/XAdmin/js/excanvas.compiled.js")?>
<![endif]--><!-- needed to make HTML5 charts and graphs (visualize.js) work in IE -->

<!--show password script for registration section in login page-->
<?php $this->html->loadJs("Content/XAdmin/js/jquery.showpassword.js")?>

<!-- //End Javascript Files -->
<!-- ********************************************************************* -->
</body>
</html>